<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh">
<head>
    <title>系统用户详情</title>
    <jsp:include page="/WEB-INF/view/commons/css.jsp" />
</head>
<body >
<div id="main-container" class="container-fluid">
    <div class="panel panel-info">
        <div class="panel-body">
            <form class="form-horizontal">


                <div class="form-group">
                    <label class="col-sm-1 control-label">账号：</label>
                    <div class="col-md-4">
                        <p class="form-control-static">${entity.account}</p>
                    </div>
                    <label class="col-sm-1 control-label">部门：</label>
                    <div class="col-md-4">
                        <p class="form-control-static">${entity.departmentStr}</p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">姓名：</label>
                    <div class="col-md-4">
                        <p class="form-control-static">${entity.name}</p>
                    </div>
                    <label class="col-sm-1 control-label">邮箱：</label>
                    <div class="col-md-4">
                        <p class="form-control-static">${entity.email}</p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">电话：</label>
                    <div class="col-md-4">
                        <p class="form-control-static">${entity.phone}</p>
                    </div>
                    <label class="col-sm-1 control-label">状态：</label>
                    <div class="col-md-4">
                        <p class="form-control-static">${entity.statusStr}</p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">角色：</label>
                    <div class="col-md-9">
                        <p class="form-control-static">${entity.roleName}</p>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-1 col-md-4">
                        <shiro:hasPermission name="sysuser:edit">
                            <a href="sysuser/edit/${entity.id}" class="btn btn-sm btn-primary" ><i class="fa fa-edit"></i> 修改</a>
                        </shiro:hasPermission>
                        <button type="button" class="btn btn-sm link_close"><i class="fa fa-close"></i> 关闭</button>
                    </div>
                </div>
            </form>
        </div>
    </div><!-- /.panel -->
</div><!--/#main-container-->

<!-- script start -->
<jsp:include page="/WEB-INF/view/commons/js.jsp" />
<script type="text/javascript">
    $(document).ready(function(e) {
    });
</script>
<!-- script end -->
</body>
</html>
